import 'package:flutter/material.dart';

import 'extendCell.dart';


class ExamPage extends StatefulWidget {

  const ExamPage({super.key});

  @override
  _ExamPageState createState() => _ExamPageState();
}

class _ExamPageState extends State<ExamPage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
        appBar: AppBar(
          title: Text('水平测试'),
        ),
        body: Container(
          child: ListView(
            children: <Widget>[  // Cells 因为现在是学习UI 我们就直接Cell往里生怼
              ExtendCell(
                imgName: 'other/setting',
                subImgName: '',
                title: '泽泽圈',
                subTitle: '',
              ),
              SizedBox(height: 10), //暂时使用SizeBox 来达到类似iOS GroupStyle的Cell分组效果
              ExtendCell(
                imgName: 'other/setting',
                subImgName: '',
                title: '泽泽的二圈',
                subTitle: '',
              ),
              SizedBox(height: 10),
              ExtendCell(
                imgName: 'other/setting',
                subImgName: '',
                title: 'zeze',
                subTitle: '',
              ),
              SizedBox(height: 10),
              ExtendCell(
                imgName: 'other/setting',
                subImgName: '',
                title: 'family伐木类',
                subTitle: '',
              ),
              SizedBox(height: 10),
              ExtendCell(
                imgName: 'other/setting',
                subImgName: 'other/setting',
                title: '泽泽的游戏',
                subTitle: '玩游戏赢大奖',
              ),
            ],
          ),
        )
    );
  }
}